package com.wangshidai.mapper;

import com.wangshidai.entity.CustomEmp;
import com.wangshidai.entity.Dept;
import com.wangshidai.entity.Emp;
import com.wangshidai.entity.QueryEmpPri;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface EmpMapper {

//    查询指定部门指定城市 指定 员工姓名的员工姓名、城市名称和部门名称
    public List<HashMap> queryEmp(@Param("dept") Dept dept,@Param("emp") Emp emp);
    public List<Emp> queryEmp2();

//    public List<CustomEmp> queryEmp1(HashMap map);

    /**
     * 批量删除
     * @param eids
     */
     public void batchDeleteEmp(List eids);
    public void batchDeleteEmp1(Integer eids[]);
}
